Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Open an xpages to dijit.Dialog

Opening a dijit dialog from <div> markup is working perfectly but not from programatically through a javascript function. We are trying to open/edit document in dijit dialog by clicking on an icon in the view column from viewpanel. The dialog is displaying document perfectly but all buttons are idle and no action fire. Here is the code:

dojo.require("dijit.form.Button");
dojo.addOnLoad(function(){
//first check if it's there so we don't create a duplicate
var dialog = dijit.byId("fieldProfileDialogId");
if (dialog) { dialog.destroyRecursive(); }
var url = "xpFormFieldProfile.xsp" + "?documentId=" + "#{javascript:rowFieldProfile.getUniversalID()}" + "&action=editDocument";
// create a "hidden" Dialog till calling show it
var dialog = new Com.ZetaOne.widget.Dialog({
title:"Field Profile",
href: url,
refreshOnShow: true,
preventCache: true
},
dojo.byId("fieldProfileDialogId")
);
// showe the dialog box
dialog.show();
});

Please note that we are opening an xpages in a dijit diaolog box.

Thanks a lot.


Feedback response number WEBB84SC8R created by ~John Nimtumimargon on 04/23/2010

Editing in an XPage dojo dialog box... (~Fritz Nonponep... 20.Apr.10)
. . XPages dijit dialog (~Maria Xanjumib... 20.Apr.10)
. . . . re (~Fritz Nonponep... 20.Apr.10)
. . . . . . re:dialog (~Maria Xanjumib... 21.Apr.10)
. . . . . . . . Open an xpages to dijit.Dialog (~John Nimtumima... 23.Apr.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS